home *** CD-ROM | disk | FTP | other *** search
Wrap
ccccssssaaaaeeeeddddiiiitttt((((1111MMMM)))) ccccssssaaaaeeeeddddiiiitttt((((1111MMMM)))) NNNNAAAAMMMMEEEE csaedit - displays and edits the accounting information SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_aaaa_cccc_cccc_tttt_////_cccc_ssss_aaaa_eeee_dddd_iiii_tttt [_----_PPPP _p_a_c_c_t_f_i_l_e] _----_bbbb _o_f_f_s_e_t_f_i_l_e _----_oooo _o_u_t_f_i_l_e [_----_vvvv] _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_aaaa_cccc_cccc_tttt_////_cccc_ssss_aaaa_eeee_dddd_iiii_tttt [_----_PPPP _p_a_c_c_t_f_i_l_e] [_----_oooo _o_u_t_f_i_l_e] _----_AAAA [_----_mmmm] [_----_tttt] [_----_vvvv] _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_aaaa_cccc_cccc_tttt_////_cccc_ssss_aaaa_eeee_dddd_iiii_tttt [_----_PPPP _p_a_c_c_t_f_i_l_e] _----_rrrr _r_e_c_l_i_s_t _----_oooo _o_u_t_f_i_l_e [_----_vvvv] _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_aaaa_cccc_cccc_tttt_////_cccc_ssss_aaaa_eeee_dddd_iiii_tttt [_----_PPPP _p_a_c_c_t_f_i_l_e] _----_rrrr _r_e_c_l_i_s_t [_----_oooo _o_u_t_f_i_l_e] _----_AAAA | _----_xxxx [_----_mmmm] [_----_tttt] [_----_vvvv] DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN The _cccc_ssss_aaaa_eeee_dddd_iiii_tttt command edits the accounting file. The accounting file (_p_a_c_c_t_f_i_l_e) can be a _p_a_c_c_t or _s_o_r_t_e_d _p_a_c_c_t file. You must use the _cccc_ssss_aaaa_vvvv_eeee_rrrr_iiii_ffff_yyyy(1M) command to verify records in the accounting file prior to using this command. If the _cccc_ssss_aaaa_vvvv_eeee_rrrr_iiii_ffff_yyyy command indicates that the accounting file contains invalid data, you must first delete the invalid data. You can do this by passing the file that contains information about invalid records produced by the _cccc_ssss_aaaa_vvvv_eeee_rrrr_iiii_ffff_yyyy command to the _cccc_ssss_aaaa_eeee_dddd_iiii_tttt command. The _cccc_ssss_aaaa_eeee_dddd_iiii_tttt command uses the byte offset and length information from this file to delete the invalid data. To ensure that all of the bad records were removed, use the _cccc_ssss_aaaa_vvvv_eeee_rrrr_iiii_ffff_yyyy command to reverify the accounting file after deleting any records. After deleting bad records, you can use the _cccc_ssss_aaaa_eeee_dddd_iiii_tttt command to view the remaining records and delete any of these remaining records. Use the record numbers display by the _----_AAAA option to delete records. The _cccc_ssss_aaaa_eeee_dddd_iiii_tttt command outputs the data to stdout or to a file. The output data can be in binary or ASCII form. Binary data can only be written out to a file. Only accounting records can be output. No data can be output until bad data has been removed. Displaying the data in ASCII form allows you to view the valid records and decide which ones to delete. The _cccc_ssss_aaaa_eeee_dddd_iiii_tttt command accepts three types of options: input, output, and record selection options. IIIInnnnppppuuuutttt OOOOppppttttiiiioooonnnnssss The _cccc_ssss_aaaa_eeee_dddd_iiii_tttt command accepts the following input option: _----_PPPP _p_a_c_c_t_f_i_l_e Specifies a _p_a_c_c_t file or _s_o_r_t_e_d _p_a_c_c_t file. The default filename is /_v_a_r/_a_d_m/_a_c_c_t/_w_o_r_k/_W_p_a_c_c_t. OOOOuuuuttttppppuuuutttt OOOOppppttttiiiioooonnnnssss The _cccc_ssss_aaaa_eeee_dddd_iiii_tttt command accepts the following output options: PPPPaaaaggggeeee 1111 ccccssssaaaaeeeeddddiiiitttt((((1111MMMM)))) ccccssssaaaaeeeeddddiiiitttt((((1111MMMM)))) _----_AAAA Specifies ASCII output for all data. The default is to output binary data. You cannot use this option with the _----_xxxx option. _----_mmmm Outputs memory values. This option may only be used with the _----_AAAA option or the _----_xxxx option. _----_oooo _o_u_t_f_i_l_e Specifies the output file. The default for ASCII output is _ssss_tttt_dddd_oooo_uuuu_tttt. This option is required with the _----_bbbb and _----_rrrr options. Records cannot be written back to the input _p_a_c_c_t file as in the following example: _cccc_ssss_aaaa_eeee_dddd_iiii_tttt _----_PPPP _pppp_aaaa_cccc_cccc_tttt_0000 _----_rrrr _1111_8888 _----_oooo _pppp_aaaa_cccc_cccc_tttt_0000. You cannot edit the file; you have to create a new file. _----_tttt Outputs CPU times. Also displays queue wait time for consolidated NQS and workload management records. This option may only be used with the _----_AAAA option or the _----_xxxx option. _----_vvvv Specifies verbose mode. Output is written to _ssss_tttt_dddd_eeee_rrrr_rrrr. _----_xxxx Specifies no execute mode. Only the records to be deleted are displayed. The selected records are not actually deleted. The records are displayed in ASCII form. This option must be used with the _----_rrrr option. This option cannot be used with the _----_AAAA option. RRRReeeeccccoooorrrrdddd SSSSeeeelllleeeeccccttttiiiioooonnnn OOOOppppttttiiiioooonnnnssss The _cccc_ssss_aaaa_eeee_dddd_iiii_tttt command accepts the following record selection options: _----_bbbb _o_f_f_s_e_t_f_i_l_e Specifies the file that contains the information about invalid records that are to be deleted. The _o_f_f_s_e_t_f_i_l_e is produced by the _cccc_ssss_aaaa_vvvv_eeee_rrrr_iiii_ffff_yyyy command. You must use this option with the _----_oooo option since the data will be written out in binary form only. You can only use this option with the _----_PPPP and _----_vvvv options. _----_rrrr _r_e_c_l_i_s_t Specifies the record numbers of the records to be deleted. _r_e_c_l_i_s_t is a comma-separated list. EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS Example 1: The following example deletes invalid records from the _W_p_a_c_c_t_1 file. The file _iiii_nnnn_vvvv_aaaa_llll_iiii_dddd contains information about invalid records. The output is written to file _W_p_a_c_c_t_1._N_E_W. _cccc_ssss_aaaa_eeee_dddd_iiii_tttt _----_PPPP _WWWW_pppp_aaaa_cccc_cccc_tttt_1111 _----_bbbb _iiii_nnnn_vvvv_aaaa_llll_iiii_dddd _----_oooo _WWWW_pppp_aaaa_cccc_cccc_tttt_1111_...._NNNN_EEEE_WWWW Example 2: The following example outputs the _W_p_a_c_c_t_1 file in ASCII. CPU times and memory values are reported. _cccc_ssss_aaaa_eeee_dddd_iiii_tttt _----_PPPP _WWWW_pppp_aaaa_cccc_cccc_tttt_1111 _----_AAAA_mmmm_tttt PPPPaaaaggggeeee 2222 ccccssssaaaaeeeeddddiiiitttt((((1111MMMM)))) ccccssssaaaaeeeeddddiiiitttt((((1111MMMM)))) Example 3: The following example displays records that are deleted in Example 4. _cccc_ssss_aaaa_eeee_dddd_iiii_tttt _----_PPPP _WWWW_pppp_aaaa_cccc_cccc_tttt_1111 _----_xxxx_rrrr _2222_,,,, _1111_0000_,,,, _1111_5555 Example 4: The following example deletes records 2, 10, and 15 from the _W_p_a_c_c_t_1 file. The output is written to file _W_p_a_c_c_t_1._N_E_W, and verbose output is written to file err. _cccc_ssss_aaaa_eeee_dddd_iiii_tttt _----_PPPP _WWWW_pppp_aaaa_cccc_cccc_tttt_1111 _----_rrrr _2222_,,,,_1111_0000_,,,,_1111_5555 _----_oooo _WWWW_pppp_aaaa_cccc_cccc_tttt_1111_...._NNNN_EEEE_WWWW _----_vvvv _2222_>>>> _eeee_rrrr_rrrr FFFFIIIILLLLEEEESSSS _////_uuuu_ssss_rrrr_////_iiii_nnnn_cccc_llll_uuuu_dddd_eeee_////_ssss_yyyy_ssss_////_aaaa_cccc_cccc_tttt_...._hhhh Accounting records hearder file _////_uuuu_ssss_rrrr_////_iiii_nnnn_cccc_llll_uuuu_dddd_eeee_////_cccc_ssss_aaaa_aaaa_cccc_cccc_tttt_...._hhhh Daemon accounting header file SSSSEEEEEEEE AAAALLLLSSSSOOOO csaverify(1M). PPPPaaaaggggeeee 3333